package com.yz.platform.modules.api.service;

import com.yz.platform.common.exception.CommonException;
import com.yz.platform.modules.api.entity.AuthEntity;

/**
 * author:lin Date : 2017/10/16 下午9:23
 */
public interface AuthService {


    /**
     * 验证权限
     * @param script
     * @return
     * @throws CommonException
     */
    boolean checkAuth(AuthEntity authEntity) throws CommonException;




}
